
<section class="uppload">

<div class="well well-small">
    <h3>Edit Upload</h3>
</div>

<?php if ($this->error): ?>
<p class="error">There were one or more issues with your submission. Please correct them as indicated below. </p>
<?php endif ?>
<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url(NULL,array('controller'=>'Upploadmanager', 'action' => 'edit')));
$form->setAttribute('class', 'Form');
//$form->setAttribute('action', $this->url(NULL,array('controller'=>'Upploadmanager', 'action' => 'add')));
//$form->setAttribute('action', $this->view->url());
$form->setAttribute('method', 'post');
$form->setAttribute('enctype', 'multipart/form-data');
echo $this->form()->openTag($form);
?>

<dl class="dl">

<dd class="dd"><?php echo $this->formElement($form->get('id'));  ?></dd>

<dd class="dd"><?php echo $this->formElement($form->get('user_id'));  ?></dd>

<dt class="dt"><?php echo $this->formLabel($form->get('label')); ?></dt>
<dd class="dd"><?php echo $this->formElement($form->get('label')); echo $this->formElementErrors($form->get('label')); ?></dd>
<dt class="dt"><?php echo $this->formLabel($form->get('filename')); ?></dt>
<dd class="dd"><?php echo $this->formElement($form->get('filename')); echo $this->formElementErrors($form->get('filename')); ?></dd>

<dd class="dd"><?php echo $this->formElement($form->get('submit')); echo $this->formElementErrors($form->get('submit')); ?></dd>
</dl>

<?php echo $this->form()->closeTag() ?>
</section>